package IO;

import java.io.File;

public class Demo7 {

    public static void main(String[] args) {
        File file = new File("./abc/def/ghi/jkl");

        //创建目录
//        boolean ok = file.mkdir();
        boolean ok = file.mkdirs();
        System.out.println(ok);
    }
}
